package io.renren.modules.oatools.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.util.Date;

/**
 * 调用接口发起请
 *
 * @author xhtang 173101649@qq.com
 * @since 1.0.0 2024-06-15
 */
@Data
public class CallOrderSendExcel {
    @ExcelProperty(value = "")
    private Integer id;
    @ExcelProperty(value = "系统ID")
    private Integer sysId;
    @ExcelProperty(value = "接口名称")
    private String invokeName;
    @ExcelProperty(value = "接口编号")
    private String invokeNumber;
    @ExcelProperty(value = "请求头map类型")
    private String requestHeaders;
    @ExcelProperty(value = "请求头特殊处理（加解密、添加字段、各种特殊处理）执行语法放在发起请求前")
    private String headersGroovy;
    @ExcelProperty(value = "请求参数，用于拼接URL")
    private String requestParams;
    @ExcelProperty(value = "语法处理")
    private String paramsGroovy;
    @ExcelProperty(value = "请求参数")
    private String requestBody;
    @ExcelProperty(value = "处理请数据")
    private String bodyGroovy;
    @ExcelProperty(value = "请求地址")
    private String requestUrl;
    @ExcelProperty(value = "处理OkHttpClient")
    private String requestClientGroovy;
    @ExcelProperty(value = "发起请求前处理数据")
    private String requestBeforeGroovy;
    @ExcelProperty(value = "发起请求后处理")
    private String requestAfterGroovy;
    @ExcelProperty(value = "请求类型")
    private String requestType;
    @ExcelProperty(value = "是否同步请求")
    private Integer isAsyn;
    @ExcelProperty(value = "comments")
    private String comments;
    @ExcelProperty(value = "请求时间")
    private Date requestTime;
    @ExcelProperty(value = "响应时间")
    private Date responseTime;
    @ExcelProperty(value = "响应code")
    private String responseCode;
    @ExcelProperty(value = "响应数据")
    private String responseData;
    @ExcelProperty(value = "请求持续时长")
    private Integer duration;
    @ExcelProperty(value = "请求次数")
    private Integer retryNum;
    @ExcelProperty(value = "是否成功")
    private Integer isSuccess;
    @ExcelProperty(value = "是否删除")
    private Integer isDel;
    @ExcelProperty(value = "创建时间")
    private Date createDate;
    @ExcelProperty(value = "修改时间")
    private Date updateDate;

}